package com.bs.sc.mgr.order.service;

import javax.servlet.http.HttpServletRequest;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import com.bs.sc.base.utils.AjaxJson;
import com.bs.sc.mgr.order.entity.Order;

public interface OrderService {

	public Page<Order> findOrderList(Pageable pageable);

	public AjaxJson getOrder(String id);

	public AjaxJson getMyOrder(HttpServletRequest request);

	public AjaxJson createOrder(HttpServletRequest request, Order order, String[] goodsIds);

	public AjaxJson updateItemGrade(String itemId, int grade, String comment);

	public AjaxJson deleteItemGrade(String itemId);
}
